package com.easybuy.service;

import com.easybuy.bean.Count;
import com.easybuy.bean.EasybuyOrder;
import com.easybuy.bean.OrderProductVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IOrderService {
    int delete(int id);

    int save(EasybuyOrder easybuyOrder);

    EasybuyOrder find(int eoId);

    int updateById(EasybuyOrder order);

    Count countRow();

    List<EasybuyOrder> listByPage( Integer page, Integer pageSize);

    List<EasybuyOrder> listByFind(Integer eoId, String eoUserName);

    void createOrder(HttpServletRequest request,OrderProductVo orderProductVo);
}
